print("Give me tow number,and I'll diivide them")
print("Enter 'q' to quit.")
while True:
    first_number = input('first number:')
    if first_number == 'q':
        break
    second_nameber = input('second nunber:')
    if second_nameber == 'q':
        break
    try:
        answer = int(first_number) / int(second_nameber)
        print(int(answer))
    except ZeroDivisionError:
        print("You can't divide by 0!")
    else:
        print(int(answer))
